package com.example.demo.singleton

import io.vertx.mysqlclient.MySQLPool

/**
 * @author Xu Haidong
 * @date 2023/4/20 11:35
 */
object MySQLPoolHolder {

  var pool: MySQLPool? = null

  fun setInstance(pool: MySQLPool) {
    this.pool = pool
  }

  fun getInstance(): MySQLPool? {
    return this.pool
  }

}
